package cn.zealon.readingcloud.collection.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;

/**
 * 图书服务
 * @author: zealon
 * @since: 2019/7/4
 */
@FeignClient("light-reading-cloud-book")
@RequestMapping("/book")
public interface BooksService {


    /**
     * 获取所有的图书
     * @return
     */

    @RequestMapping("/sendCollectBooks")
    HashMap<String,Object> sendCollectBooks();
}
